package service.AOP.defineAOP;

import org.springframework.stereotype.Component;

/**
 * @Description 带参数的环绕通知事务
 * @author: wwchen
 * @DateTime: 2018-05-13 22:23
 */
@Component
public class AroundAopWithParams {
    /**
     * 用于测试带参环绕测试
     * service.AOP.defineAOP.AOPMessage#aroundInit(org.aspectj.lang.ProceedingJoinPoint, java.lang.String, int)
     * @param param
     * @param num
     */
    public void init(String param,int num){
        System.out.println("这是业务处理 str = "+param+" num = "+num);
    }

    public void init1(String param,int num){
        System.out.println("这是业务处理不带参数--------------");
    }
}
